package com.group9.service.impl;

import com.group9.mapper.FruitInfoMapper;
import com.group9.pojo.FruitInfo;
import com.group9.service.FruitInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

/**
 * Created by Lcouncillor on 2020/5/14.
 */
@Repository
public class FruitInfoServiceImpl implements FruitInfoService {

    @Autowired
    FruitInfoMapper fruitInfoMapper;

    @Override
    public FruitInfo selectByFruitId(Integer fruitId) {
        return fruitInfoMapper.selectByPrimaryKey(fruitId);
    }
}
